put javascript in alt.js, css in alt.css, and added functionality to return string with shape info