Works within <script> tag, but not in external JS file

Printable View