making the frame a bit wider and a js mistake that would make douglas crockford squirm