improve js flashes

hopefully addresses https://github.com/ptrckbrwn/idoru/issues/18 and https://github.com/ptrckbrwn/idoru/issues/17