some attempts to show pdf in browser itself