I couldn't handle the tabbing, ran through jsbeautifier.