consolodate assets to templates directory, inject / add JS manifest