Its friday and Im not in love with javascript