aplication js modified for deploy