I know this is a demo config, but I think the name should be 'jquery' here rather than '$'. Would be nice to see the name of the library at a glance. You can still assign it to $ in the definition functions where it's used.