Move iit-specific code to separate file
Rename entry points in JS
Update compiled version