/**
* Attaches resize event to a window, limiting
- * number of event fired. Fires only when encounteres
+ * number of event fired. Fires only when encounters
* delay of 100 after series of events.
*
* Some browsers fire event multiple times when resizing
/**
* Function places an absolutely positioned
* element on top of the specified element
- * copying position and dimentions.
+ * copying position and dimensions.
* @param {Element} from
* @param {Element} to
*/
* Easy styling and uploading
* @constructor
* @param button An element you want convert to
- * upload button. Tested dimentions up to 500x500px
+ * upload button. Tested dimensions up to 500x500px
* @param {Object} options See defaults below.
*/
window.AjaxUpload = function(button, options){