Update Common.js

Added more to the string replace function.