Finished adding margin support.

Escaped <, >, and & characters in JavaScript script tags.

The file to load is now stored as a string as opposed to being loaded
multiple times, making it much faster.