add tests js - qunit and add jshint
insert on mysql after post request