fix webkit js problem, plus adding travis and codeclimate badges