You can download PrayTime in JavaScript from this page. Code changes are documented in the changelog page.