refs #4151 refactored last usages of _js hack
fixes #4151 removed _js hack