Move javascript references