Add new method -jsSafeCutStringToIndex: in NSString(SLLEnhance)