Add rules for js prefixes and dispatcher when using jQuery

Can you explain what you mean by a partial? Perhaps a link to PM to the code?