Storing JS code elsewhere