Added main js file and edited README