add common js support