and moving js code to a folder