Fixed bug with JS not working.