made method naming js compliant. improved readme.