Added js file for cookie functions
Created function for setting, reading and erasing cookies