well instead of an API this Prototype.js is good stuff.. not better but good instead of.