Merge javascript in to plugin files