Advanced html input completion and utilities