Fixed multithreading bug where MainActivity.jsInterface would be NULL resulting in a NullPointerException