making et-converttoscreenwid self reliant so it can be run from non angular pages without issue