Put javascript in separate file