Java schript

Makes string.JavascriptSafe escape everything neccesary to ensure errors will never occur with any input when used properly.

Potentially fixed an injection issue with workshop addon names, at the very least they could cause JS errors prior to this fix.