Finished cookies part & updated semantic js