Fix issue#4230 - Remove inline script from B2G viewer

I am on slow internet connection so it's not possible for me to build b2g and test this fix.