Put js in separate file