separated javascript file