Bolt not working with javascript

<!doctype html>

BOLT

LED Controller


ON OFF

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

Hi @prezwa.gr
Please check if bolt.js file is present in bolt SD card.
If the bolt.js file is missing then download it from https://github.com/Inventrom/bolt-sdcard-files 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.