bug 1065074

Instead of using 4 variables for script includes, let's just use 2 and call them `devJSPaths` and `devJSIncludes`. This will make the code more DRY.