Moved JavaScript to its own directory.