add dialect support

@robguthrie did you remove the JS from crowdtilt which is gonna hit this ?