Breaking javascript out into separate files