Fast and easy prototyping using reflection to expose PHP classes as JavaScript functions