Cosmetic: reindent js files

Some js files were using a 2-space indent and some were using a 4-space
indent. This changes them all so they all use a 4-space indent.