refactors to include jquery, moves appropriate files to public folder