add JS plugin support