Adding js code and instructions