localize assets, optimize png, remove unused code