Reorg javasript.