Refactoring Dialog Creator in Javascript

Task: MaskInput e checkinTool, Javascripts melhorar design.