added js skils and local fixed