typing/javascript errors..