Fixing loop bug in asset_manager.php
Updating demo app a little bit