removing now unused files
refactored functions into js file
bumping vers and adding dep for perl json