commented out code referencing "window" to avoid "window is not defined" when running in therubyracer