tightened javascript, added status info message, fixed anoying js warning.