Fixed failing test case

- Fixed failing test case
- fixed error in vm file. Used escape characters to escape
$.ajax({