updated with javascript
created javascript file