Moving shared JS