Fix "Uncaught EvalError" on Chrome