Remove html from js.

cause ugly.

this is more verbose, but better practice i think.