changed js to display inline