If you can use the htc, you don't need the JavaScript file. The htc url in the behavior-rule must be relative to the html file folder and not the css subfolder like normally. This is all covered in
Getting startedPlease also get familiar with the
known issues