renames package json
refactors category jQuery grabs into functions