new common js and init