Show client side JS errors with CasperJS
Fix regression for view 3D popup (fixes #105)