inline js
updated index.html