Added Travis hook and tests using grunt for JS