Added js to control where text alligns