separate js into separate files and add jquery