Added source code for JS file