missed out a js's variable