Bolt not working with javascript

<!doctype html>


LED Controller


This is the code to control LED with javascript, unfortunately it doesn’t seem to work.
LED control works fine if i use just html.Preformatted text

Please check if bolt.js file is present in bolt SD card.
If the bolt.js file is missing then download it from and copy it to SD card.
You can also refer this thread for LED controller using javascript. The following code is notworking. When I click on button nothing happens

Thanku @rahul.singh
After downloading bolt.js file and copying it to SD card it worked.