added js highlight and api docs
setValue and getValue functions