major js implemented