added strict mode js; changed all single quotes to double