Update input_view.js

Added isCursorAtBeginning, showPlaceHolder and hidePlaceholder