Switched PAD to use mini JS