* Move js to place where its only using
* Preparing for file upload functionality

Signed-off-by: RxCompile <rxcompile@gmail.com>
* Js needed for jQuery file upload
* New model for LogFlag (now stores uploaded file if any)
* Some comments
* Move code closer to usage

Signed-off-by: RxCompile <rxcompile@gmail.com>