web2py/web2py — pull request #510 by niphlod (2014-09-25 20:50:56+00:00)
Title: fixes issue 1985

plus made a pass to jsbeautifier for improved reading
plus fixed an annoying trailing comma that could cause issues with IE >= 8