front js code