First of all, this is not a javascript forum, so you're not gonna get any solution. You're better off asking on stackoverflow.com
Second, seriously? You used ai, but didn't bother editing it's response to actually have anything to do with your problem?
Third, you didn't even include any code, so no one would even be able to help you fix your problem.