Enables poltergeist and fixes js error on dashboard