Fixed escape_javascript function.