moved js to its own folder