Main page commit js