1. Width and height in percentage is now supported.
2. Split makethumbnail method into two different methods for better maintenance.
3. Added a local jQuery core file.