made inbox with js