Got JS working for the trade form