Moved based js to dependencies and testing socket