Turned functions of the form 'function x(){}' into 'var x = function(){}', so that it works in strict mode.
Merge pull request #533 from bigblind/master

Make router work in strict mode.