Separate JavaScript for the LMS and Studio

Saves about 10K in the LMS.

@stephensanchez