FTPlugin: Add javascript rules.