How to use $ with externally loaded javascript

How to use $ with externally loaded javascript