Script JS + PHP : handle files back office