move check for GAE to the right place
Merge pull request #153 from albertjan/travis-setup-9

move check for GAE to the right place
Bug Fix:  window_width/height were not returning proper numbers