minor js error fix
add loader on form upload