port change to 8836, remove cookie altert fixed casperjs none exising bug
tidy upcode via jshint error list