externalized javascript in body