Snake with RequireJS