Added boolean to .js file
added to jsfile