add additional api option for cms3
remove not required text/javascript