added js and text to terminal