Fix some JavaScript settings and templates