Added common.js, updated game window to maintain aspect ratio via js