Added new values to optionsJSON and var template