javascript attempt w/ strobe code