compatibility for NodeBB 0.4.0, fixed script-inclusion within client-side script