The javascript inheritance problem seems to be solved