initial api.php, not tested but should work
initial index and jquery - has layout but no js