moved js assets after templates