adds js to recalculate input width
fixes alignments
moves jquery to focus input when #shell clicked