^ improve js core init
- delete old js php