Fix: Requirejs loading

Move declaration of availableTransitions on the top.

PS: this is not an April's Fool ;-)