solved 2 bugs

1. added an return where one was missing 

2. changed the name of 3
constants which are different from those in the ccbi files which the
cocosbuilder generates and cc.LayerLoader expected. This bug generates in Firefox popups.