Deletes unused files and reorder javascripts

Fixes Issue #20