Add rules for js prefixes and dispatcher