added "_this" reference for setTimeout

Fix for issue #1245