Rearranged file structure; begun moving functionality from ERB to JQuery