Ajax response posting, fixed bugs, write coffeescript