Change the NSString with NSNumber and add some JavaScript