Javascript and fix for cl()