Cleanup unused ERB tags and fixed the JMX_PORT tag