js and php updates