Merging in Javascript file