clientside js in separate file