Ran code through jsbeautifier.org

If this has any problems tell me and I'll revert it