Fix relative path to cling lib
Fix JS syntax