Added seperate .js file