Added options onto prototype and moved fileuploader specific constructor logic into own function