Moved around some JS filters to optimise free / pro speeds

Signed-off-by: Elliot Condon <e@elliotcondon.com>