add gems for potential JS runtime environments, remove puts call from password_resets_controller