Trying a new layout strategy for the inputs. Fixes a weird issue with assigning JS variables.