Use window.APP to access global object