Broke JS into separate file