Set boundaries of GameArea JavaScript Methods