Correct RequireJS usage

Still facing first time load issues