Updated custom script js