make jquery.cookie amd only