finally, some decent JS settings