Debugged javascript for real this time