fix quote issue in appinit.js
update Jasmine tests