Added js php helpers