owncloud/core — pull request #8213 by cbojar (2014-04-15 15:19:26+00:00)
Title: Clean up js.js along suggestions from scrutinizer-ci, fixes #8204.

Also used JSHint.com to find a few other issues.

-Strict comparisons (===)
-Fixed regex escaping errors
-Refactored OC.buildQueryString to use jQuery.map
-Missing semicolons
-Braces around if block

Left some of the mixed spaces/tabs as they are for alignment in comments.