[AmdSetup]
- revert phonegap script include
- move scripts include to head