JS configuration and templating updates.