separate JavaScript