javascript string format decimal