Resolved some javascript