Adding copyright note
Adding use strict and made them all consistent with double quotes instead of single quotes