added factory samples
Disney javascript input validation