fixed syntax for pluggable_js calls