Add define call so it works with requirejs