add types via javascript :-)