adding runnable argument to includeJSFile
adding two getters for available modes and mimetypes
updating API