only load needed assets in mobile, much better performance