5 modern Javascript practices demonstrated on a FuelPHP installation