move n2o javascript to separate folder