JavaScript URL changes

The new $DOMAIN was messing with these