Trying to fix CharJS directive

see title