js and some views