fixed section break and bad php calls in js