PureMVC Multicore StateMachine Utility - JS Port