Update scripts.js

Fixed error: "jQuery Uncaught TypeError: Property '$' of object [object Window] is not a function"
inspiration came from http://stackoverflow.com/a/10807237/940200

I noticed this error because it prevents the woocommerce button to appear when selecting a product variation (https://github.com/woothemes/woocommerce/issues/1074)