add to javascript sourcecode.