Changed format to fit better with typical plugin format

Removed Depricated js file