moving JS external