add defer loading for JS