vs 1.9 internalise cookie script

Loading the external jquery cookie script wasn't working, so it's been integrated into the main script