&gt;  Instead of learning a new framework I wrote my own.<p>Hands down, the worst code I have ever inherited from another developer is in a scenario like this. Happened to me a bunch of times. Worst ever was a former boss who didnt &quot;trust&quot; Prototype.js nor jQuery and decided to write his own version. Pure hell.<p>Please be kind to your fellow programmer brethren. Unless the problem you are trying to solve is uber simple and obvious or you are just &quot;doing it for fun&#x2F;knowledge&#x2F;etc&quot;, find a well-adopted framework, with good documentation and get to work.