refactore spell module to use jqx-splitter (WIP)