build last commit to javascript