deleted no longer needed files
fixed jslint issues
ported to api v3